/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.platform.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.medusa.gruul.common.data.base.BaseNoTenantEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 代理商银行卡表结构
 * </p>
 *
 * @author whh
 * @since 2020-10-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_agent_bank")
@ApiModel(value = "AgentBank对象", description = "代理商银行卡表结构")
public class AgentBank extends BaseNoTenantEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * t_agent_info 表中id
     */
    @ApiModelProperty(value = "t_agent_info 表中id")
    @TableField("agent_info_id")
    private Long agentInfoId;

    /**
     * 持卡人手机号
     */
    @ApiModelProperty(value = "持卡人手机号")
    @TableField("card_phone")
    private String cardPhone;

    /**
     * 持卡人姓名
     */
    @ApiModelProperty(value = "持卡人姓名")
    @TableField("card_name")
    private String cardName;

    /**
     * 卡号
     */
    @ApiModelProperty(value = "卡号")
    @TableField("card_num")
    private String cardNum;

    /**
     * 开户银行
     */
    @ApiModelProperty(value = "开户银行")
    @TableField("card_bank_name")
    private String cardBankName;


}
